package com.xx.jicheng.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.xx.jicheng.entity.Product;
import com.xx.jicheng.mapper.ProductMapper;
import com.xx.jicheng.service.ProductService;

@Service
public class ProductServiceImpl implements ProductService{
	
	@Autowired
	private ProductMapper productMapper;

	@Override
	public List<Product> findByCid(String cid, PageBounds pageBounds) {
		return productMapper.findByCid(cid, pageBounds);
	}

}
